<?php
/**
 * Created by PhpStorm.
 * User: tjjs
 * Date: 17-4-8
 * Time: 下午4:14
 */

namespace Utils;

use Utils\HttpUtils;

class MessageUtils
{
    /*
    * 阿里云短信发送
    *
    */
    public static function sendSmsAliToPhone($phoneNumber,$verifyCode){

        $post_data = array(
            'phoneNumber' => $phoneNumber,
            'verifyCode' => $verifyCode,
            'product' => "停车场"
        );
        HttpUtils::doPost_curl(URL_SEND_SMS_ALIDAYU,$post_data);
    }

}
